/*
 * Copyright (c) 2023 IUV Inc. All rights reserved.
 * 项目名称：IUV TXY
 * 文件名：DemoBaikeOnlineHourTblRepository.java
 * Date：23-10-10 下午2:09
 * Author：Will
 */

package com.iuv.baike.repository;

import com.iuv.baike.domain.DemoBaikeOnlineHourTbl;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * 号码百科在网时长例子-查询记录关联DAO
 */

/**
 * TODO 问题二 申明自己是能够处理数据库表demo_baike_online_hour_tbl操作的Repository类
 */
@Repository
public interface DemoBaikeOnlineHourTblRepository extends JpaRepository<DemoBaikeOnlineHourTbl, Integer>,
        JpaSpecificationExecutor<DemoBaikeOnlineHourTbl>  {
/*
* END
*/

    /**
     * 根据手机号码查询已存在的记录
     * @param moblie
     * @return
     */
    DemoBaikeOnlineHourTbl queryTopByMobile(String moblie);


}
